gtk4.git
10 years agoentry: queue an allocate when pulsing
Benjamin Otte [Thu, 4 Feb 2016 11:24:34 +0000 (12:24 +0100)]
entry: queue an allocate when pulsing

We need to reposition the progress gadget and that's done during
allocation.

10 years agogdkwindow-x11: always set _GTK_THEME_VARIANT property
Alberts Muktupāvels [Thu, 4 Feb 2016 09:52:07 +0000 (11:52 +0200)]
gdkwindow-x11: always set _GTK_THEME_VARIANT property

Set _GTK_THEME_VARIANT to empty string when default theme variant
is used. This will allow to understand whether _GTK_THEME_VARIANT
is not supported or default variant is requested.

https://bugzilla.gnome.org/show_bug.cgi?id=761476

10 years agogtksettings: fix critical warning
Alberts Muktupāvels [Wed, 3 Feb 2016 13:48:52 +0000 (15:48 +0200)]
gtksettings: fix critical warning

Commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 introduced critical
warning - g_value_copy: assertion 'g_value_type_compatible (...)' failed.

https://bugzilla.gnome.org/show_bug.cgi?id=761381

10 years agobroadway: Define variables where they are used
Benjamin Otte [Wed, 3 Feb 2016 22:07:05 +0000 (23:07 +0100)]
broadway: Define variables where they are used

Avoids gcc warnings about unused variables.

10 years agocomposetable: Fix gcc warnings
Benjamin Otte [Wed, 3 Feb 2016 22:06:53 +0000 (23:06 +0100)]
composetable: Fix gcc warnings

10 years agoimmodule: Use correct sign for function prototype
Benjamin Otte [Wed, 3 Feb 2016 21:50:03 +0000 (22:50 +0100)]
immodule: Use correct sign for function prototype

10 years agoentry: Turn progress node into a gadget
Benjamin Otte [Wed, 3 Feb 2016 19:44:06 +0000 (20:44 +0100)]
entry: Turn progress node into a gadget

10 years agoentry: Simplify drawing code
Benjamin Otte [Tue, 2 Feb 2016 14:44:28 +0000 (15:44 +0100)]
entry: Simplify drawing code

10 years agoAdwaita: fix headerbar spinbutton size
Lapo Calamandrei [Wed, 3 Feb 2016 17:32:51 +0000 (18:32 +0100)]
Adwaita: fix headerbar spinbutton size

fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484

10 years agogdkborder: remove unneeded definition
William Hua [Wed, 3 Feb 2016 15:20:30 +0000 (10:20 -0500)]
gdkborder: remove unneeded definition

This reverts 54fa65f544bef281640d18a4a725005f6199a956,
5190d010d95010a845715c719c3b85a75e0c513a, and
a6e4de28842002e7bfdf73def26c4c52d9f9126a.

https://bugzilla.gnome.org/show_bug.cgi?id=756579

10 years agoprint dialog: Fix layout preview drawing
Matthias Clasen [Wed, 3 Feb 2016 15:06:05 +0000 (16:06 +0100)]
print dialog: Fix layout preview drawing

Use the CSS name paper for this as well, and make sure Adwaita
sets a color that makes the text visible in the dark theme as well.

10 years agoAdwaita: notebook with hidden header style fix
Lapo Calamandrei [Wed, 3 Feb 2016 14:23:17 +0000 (15:23 +0100)]
Adwaita: notebook with hidden header style fix

the stack styling is applied only when there is a header, hence
when the stack node is not the notebook only child, should cure
https://bugzilla.gnome.org/show_bug.cgi?id=760996

10 years agoAdwaita: fix vertical spinbutton style
Lapo Calamandrei [Wed, 3 Feb 2016 14:03:39 +0000 (15:03 +0100)]
Adwaita: fix vertical spinbutton style

correct sizing and workaround disabled entry text colors.

10 years agonotebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder...
Carlos Garcia Campos [Tue, 2 Feb 2016 17:50:58 +0000 (18:50 +0100)]
notebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder operation

This broke in f535251507a6a0af68aed6348ae80cbdac9b1f4a that removed
during_reorder in favor of using the current operation, but removed the
check from gtk_notebook_stop_reorder().

10 years agoUpdated French translation
Alexandre Franke [Tue, 2 Feb 2016 16:32:30 +0000 (16:32 +0000)]
Updated French translation
(cherry picked from commit 85fb4c1c0a17906a65e0b732770b88353b6214c4)

10 years agogtksettings: reset property to correct default value
Alberts Muktupāvels [Mon, 1 Feb 2016 20:38:28 +0000 (22:38 +0200)]
gtksettings: reset property to correct default value

https://bugzilla.gnome.org/show_bug.cgi?id=76138

10 years agoRevert "Add missing (out) annotation to gdk_rgba_parse"
Emmanuele Bassi [Tue, 2 Feb 2016 15:08:10 +0000 (15:08 +0000)]
Revert "Add missing (out) annotation to gdk_rgba_parse"

This reverts commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e.

The change introduced an introspection ABI break.

See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125

If we want to move the parse() method to be a constructor or a class
method, we'll need to do more testing or add new API.

https://bugzilla.gnome.org/show_bug.cgi?id=754990

10 years agoentry: Draw progress in the right place
Benjamin Otte [Mon, 1 Feb 2016 13:47:43 +0000 (14:47 +0100)]
entry: Draw progress in the right place

10 years agoUpdated Hungarian translation
Balázs Meskó [Tue, 2 Feb 2016 13:22:12 +0000 (13:22 +0000)]
Updated Hungarian translation

10 years agoUpdated German translation
Mario Blättermann [Mon, 1 Feb 2016 18:51:46 +0000 (19:51 +0100)]
Updated German translation

10 years agoreftests: Make separator-size test pass in HighContrastInverse
Matthias Clasen [Sun, 31 Jan 2016 21:53:53 +0000 (16:53 -0500)]
reftests: Make separator-size test pass in HighContrastInverse

After neutralizing the stack background, the notebook itself
was peeking through.

10 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 31 Jan 2016 21:30:39 +0000 (22:30 +0100)]
Updated Spanish translation

10 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 31 Jan 2016 21:30:29 +0000 (22:30 +0100)]
Updated Spanish translation

10 years agoTrivial formatting fix
Matthias Clasen [Sun, 31 Jan 2016 19:10:13 +0000 (14:10 -0500)]
Trivial formatting fix

10 years agoreftests: Make label-text-shadow-changes-modify-clip test more reliable
Matthias Clasen [Sun, 31 Jan 2016 19:08:35 +0000 (14:08 -0500)]
reftests: Make label-text-shadow-changes-modify-clip test more reliable

This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the rui on the fly if we find that animations
are disabled.

10 years agoreftests: Add a message to the test output
Matthias Clasen [Sun, 31 Jan 2016 19:06:34 +0000 (14:06 -0500)]
reftests: Add a message to the test output

Emit a message that ends up in the test output if we are modifying
the test on the fly.

10 years agoreftests: Rename a source file
Matthias Clasen [Sun, 31 Jan 2016 19:00:08 +0000 (14:00 -0500)]
reftests: Rename a source file

Easier to keep track of things if the sources are names after
the test they are used in.

10 years agoentry: Fix icon areas
Timm Bäder [Sun, 31 Jan 2016 15:17:03 +0000 (16:17 +0100)]
entry: Fix icon areas

Do the same thing we already do in gtk_entry_get_text_area.

10 years agowidget: Annotate out params of _translate_coordinates as optional
Timm Bäder [Sat, 30 Jan 2016 23:01:31 +0000 (00:01 +0100)]
widget: Annotate out params of _translate_coordinates as optional

10 years agoreftests: Make animation-direction test more reliable
Matthias Clasen [Sun, 31 Jan 2016 18:51:54 +0000 (13:51 -0500)]
reftests: Make animation-direction test more reliable

This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the reference ui on the fly if we find
that animations are disabled.

10 years agogtk-builder-tool: Expand the preview command
Matthias Clasen [Sun, 31 Jan 2016 17:57:50 +0000 (12:57 -0500)]
gtk-builder-tool: Expand the preview command

Make the preview command parse options properly, turn the ID into
an --id=ID option, and add a --css=FILE option that allows to
specify a css file to use for previewing.

This is useful for e.g. previewing the reftest .ui files with
their corresponding .css.

10 years agogtk-launch: Add --version
Matthias Clasen [Sun, 31 Jan 2016 17:05:35 +0000 (12:05 -0500)]
gtk-launch: Add --version

Support --version. Also improve the --help output cosmetically.

10 years agogtk-builder-tool: Accept --help
Matthias Clasen [Sun, 31 Jan 2016 16:01:46 +0000 (11:01 -0500)]
gtk-builder-tool: Accept --help

Saying 'Failed to open file '--help' is not polite or smart.
Catch this case and show usage information.

10 years agofile chooser: Avoid a crash
Matthias Clasen [Sun, 31 Jan 2016 04:07:56 +0000 (23:07 -0500)]
file chooser: Avoid a crash

Since 39c2d12330b6d4405ca8a5599c12017c58626fcf,
priv->operation_mode == OPERATION_MODE_BROWSE no longer
guarantees that priv->browse_files_model is the current
model of the list - we are only switching the models after
loading the new directory. Avoid triggering the assertion
in show_and_select_files by checking if we have right model
before calling it.

https://bugzilla.gnome.org/show_bug.cgi?id=761209

10 years agoDon't include the builtin sequence table in multiple places
Matthias Clasen [Sun, 31 Jan 2016 03:52:13 +0000 (22:52 -0500)]
Don't include the builtin sequence table in multiple places

The table is defined as static const guint16 [], so it really
should only be included in one source file.

10 years agocombobox: Avoid a misleading indentation
Matthias Clasen [Sun, 31 Jan 2016 03:50:54 +0000 (22:50 -0500)]
combobox: Avoid a misleading indentation

gcc 6 warns about this sort of thing. There were also some
stray ; here.

10 years agoFix the border-image-excess-size reftest
Matthias Clasen [Sun, 31 Jan 2016 02:50:00 +0000 (21:50 -0500)]
Fix the border-image-excess-size reftest

This was failing because the grid is now respecting border
width too. Making the selector more specific so it only
applies to the toolbars fixes this.

10 years agoFix another reftest
Matthias Clasen [Sun, 31 Jan 2016 02:43:49 +0000 (21:43 -0500)]
Fix another reftest

Make sure the notebook in the separator-size reftest does not
peek through, by giving it a transparent background.

10 years agoFix some reftests under wayland
Matthias Clasen [Sun, 31 Jan 2016 02:08:19 +0000 (21:08 -0500)]
Fix some reftests under wayland

Tests need to use popup windows, in order to avoid differences
due to CSD.

10 years agowayland: Reduce warning level for parentless temporaries
Matthias Clasen [Sun, 31 Jan 2016 01:56:17 +0000 (20:56 -0500)]
wayland: Reduce warning level for parentless temporaries

Temp windows without parent are used frequently in our testsuite;
using g_warning on them causes the tests to fail, which is not
useful. Reduce the warning to a g_message.

10 years agotreeview: Draw background when empty
Matthias Clasen [Sat, 30 Jan 2016 23:31:30 +0000 (18:31 -0500)]
treeview: Draw background when empty

We have a function we call for drawing the empty case, but
it only renders a focus rectangle. Make it draw the background
as well.

https://bugzilla.gnome.org/show_bug.cgi?id=761309

10 years agocolorchooserwidgeet: Reset the selected swatch when removing
Timm Bäder [Sat, 30 Jan 2016 21:31:27 +0000 (22:31 +0100)]
colorchooserwidgeet: Reset the selected swatch when removing

Otherwise, priv->current points to garbage and subsequently leads to a
crash, e.g. when adding another custom color.

10 years agoDocument gtk_parse_args limitations
Matthias Clasen [Sat, 30 Jan 2016 21:09:15 +0000 (16:09 -0500)]
Document gtk_parse_args limitations

Mention that some things won't work without a display
connection.

10 years agoThrow an error when a display is missing
Matthias Clasen [Sat, 30 Jan 2016 21:06:59 +0000 (16:06 -0500)]
Throw an error when a display is missing

Creating style context won't work without a display, so
give a clear error message and abort instead of segfaulting
later on.

https://bugzilla.gnome.org/show_bug.cgi?id=761332

10 years ago3.19.8
Matthias Clasen [Sat, 30 Jan 2016 18:27:30 +0000 (13:27 -0500)]
3.19.8

10 years agoRemove entry-progress-coloring reftest
Matthias Clasen [Sat, 30 Jan 2016 16:32:06 +0000 (11:32 -0500)]
Remove entry-progress-coloring reftest

We don't recolor text over progress anymore, so this
tests a no longer existing feature.

10 years agoUse TAP output for installed tests
Matthias Clasen [Sat, 30 Jan 2016 15:29:06 +0000 (10:29 -0500)]
Use TAP output for installed tests

10 years agoRun reftests with HighContrastInverse too
Matthias Clasen [Sat, 30 Jan 2016 15:10:39 +0000 (10:10 -0500)]
Run reftests with HighContrastInverse too

For installed tests, we run the reftests with all the builtin
themes (minus platform-specific ones). Add HighContrastInverse
to that list.

10 years agoAdwaita: Add symbolic png assets
Matthias Clasen [Sat, 30 Jan 2016 04:40:58 +0000 (23:40 -0500)]
Adwaita: Add symbolic png assets

And use them as fallback for the svg ones. This lets us
avoid a hard dependency on librsvg - the theme will work
without svg support.

10 years agoicontheme: Avoid a crash
Matthias Clasen [Sat, 30 Jan 2016 04:36:24 +0000 (23:36 -0500)]
icontheme: Avoid a crash

gtk_icon_info_new_for_file with a size of 0 would fail for
symbolic pngs because we ended up scaling with 0. Avoid this.

10 years agocss: Support the image() notation
Matthias Clasen [Sat, 30 Jan 2016 01:23:27 +0000 (20:23 -0500)]
css: Support the image() notation

This lets us do fallback in case an image format is not
supported, and also lets us provide solid-color images.
We don't support image fragment notations.

See ttps://www.w3.org/TR/css3-images/#image-notation

https://bugzilla.gnome.org/show_bug.cgi?id=761318

10 years agoEmit an error if image loading fails
Matthias Clasen [Sat, 30 Jan 2016 03:47:38 +0000 (22:47 -0500)]
Emit an error if image loading fails

Instead of spamming stderr with g_warning, use the new
emit_error method of the GtkStyleProviderPrivate interface
to emit an error if loading an image fails.

10 years agoCSS provider: Add a way to emit errors
Matthias Clasen [Sat, 30 Jan 2016 03:45:21 +0000 (22:45 -0500)]
CSS provider: Add a way to emit errors

Currently, GtkCssProvider can emit ::parsing-error only during
the actual parsing, although the documentation hints that it might
happen at other times.

This commit adds a emit_error method to the GtkStyleProviderPrivate
interface that will let us emit errors from the compute() implementations
as well, which can be useful (e.g. if an image fails to load).

10 years agoUpdated Hungarian translation
Balázs Meskó [Sat, 30 Jan 2016 01:24:09 +0000 (01:24 +0000)]
Updated Hungarian translation

10 years agoUpdated Hungarian translation
Gábor Kelemen [Sat, 30 Jan 2016 01:23:14 +0000 (01:23 +0000)]
Updated Hungarian translation

10 years agoUpdated Hungarian translation
Balázs Meskó [Sat, 30 Jan 2016 01:22:10 +0000 (01:22 +0000)]
Updated Hungarian translation

10 years agofile chooser: Make Escape close the dialog
Matthias Clasen [Sat, 30 Jan 2016 00:12:51 +0000 (19:12 -0500)]
file chooser: Make Escape close the dialog

In some situations (no header bar, save mode), hitting Escape
would not do anything because the entry ate the key event.
Fix this by telling the entry to only handle Escape when there
is something to do, such as switching back to the path bar.

https://bugzilla.gnome.org/show_bug.cgi?id=761026

10 years agoAdd a css style test for color names
Matthias Clasen [Fri, 29 Jan 2016 23:23:25 +0000 (18:23 -0500)]
Add a css style test for color names

Verify that we support all the css color names, with their expected
rgb values.

10 years agocss image recolor: Load images at the proper scale
Matthias Clasen [Fri, 29 Jan 2016 22:30:10 +0000 (17:30 -0500)]
css image recolor: Load images at the proper scale

We should not hardcode a scale of 1, this leads to
pixellated upscaled images at scale=2, even if the source
is an svg. By passing the proper scale, we can load the
svg at the correct size.

10 years agoicon theme: Improve loading of unthemed files
Matthias Clasen [Fri, 29 Jan 2016 22:27:35 +0000 (17:27 -0500)]
icon theme: Improve loading of unthemed files

When creating icon info objects for unthemed files, we don't
really have a nominal size, so we pass 0 to mean 'load at
original size'. However, this is not what was happening.
To make this possible, add variants of some pixbuf loading
functions that take a scale factor instead of a desired size,
and use those when we don't have a nominal size.

10 years agoimage: use GtkMisc padding again
Matthias Clasen [Fri, 29 Jan 2016 18:44:45 +0000 (13:44 -0500)]
image: use GtkMisc padding again

This was lost in the gadget conversion.
Thankfully, the misc-alignment reftest catches this.

10 years agoUse an GtkImage instead of GtkArrow
Matthias Clasen [Fri, 29 Jan 2016 18:21:01 +0000 (13:21 -0500)]
Use an GtkImage instead of GtkArrow

GtkArrow is deprecated, and the recommended replacement
is GtkImage.

10 years agoreftests: get icon-vfuncs test almost working again
Matthias Clasen [Fri, 29 Jan 2016 17:20:31 +0000 (12:20 -0500)]
reftests: get icon-vfuncs test almost working again

The remaining difference here is GtkArrow, which is deprecated
and has not been updated to the latest CSS rendering standards.

10 years agoAdwaita: reset padding on notebook tab close button
Lapo Calamandrei [Fri, 29 Jan 2016 17:09:28 +0000 (18:09 +0100)]
Adwaita: reset padding on notebook tab close button

10 years agotestgtk: Avoid deprecation warnings
Matthias Clasen [Fri, 29 Jan 2016 16:51:09 +0000 (11:51 -0500)]
testgtk: Avoid deprecation warnings

Eventually, we should probably remove the examples that rely
on geometry support, since they probably don't work correctly
anymore. For now, just disable the warnings.

10 years agotestoffscreen: Remove deprecated calls
Matthias Clasen [Fri, 29 Jan 2016 16:50:22 +0000 (11:50 -0500)]
testoffscreen: Remove deprecated calls

Not doing these calls doesn't seem to affect the demo,
so lets just remove them.

10 years agotestgeometry: Ignore deprecations
Matthias Clasen [Fri, 29 Jan 2016 16:25:14 +0000 (11:25 -0500)]
testgeometry: Ignore deprecations

All the functionality that is tested here has been deprecated
recently.

10 years agoAdwaita: fix border radius on #editor-color-sample
Lapo Calamandrei [Fri, 29 Jan 2016 16:48:45 +0000 (17:48 +0100)]
Adwaita: fix border radius on #editor-color-sample

10 years agoAdwaita: notebook style rewrite
Lapo Calamandrei [Fri, 29 Jan 2016 15:32:43 +0000 (16:32 +0100)]
Adwaita: notebook style rewrite

10 years agoUpdate gtk-builder-tool docs
Matthias Clasen [Fri, 29 Jan 2016 14:42:18 +0000 (09:42 -0500)]
Update gtk-builder-tool docs

10 years agobuilder tool: Add a preview command
Matthias Clasen [Fri, 29 Jan 2016 14:23:41 +0000 (09:23 -0500)]
builder tool: Add a preview command

This was somewhat missing, and is easy to add.

10 years agodocs: Fix a duplicate id
Matthias Clasen [Fri, 29 Jan 2016 13:08:08 +0000 (08:08 -0500)]
docs: Fix a duplicate id

This was causing the css properties chapter to appear twice
in the docs, and the overview not at all.

10 years agoUpdates
Matthias Clasen [Fri, 29 Jan 2016 04:09:42 +0000 (23:09 -0500)]
Updates

10 years agoinfobar: Don't expose implementation details
Matthias Clasen [Fri, 29 Jan 2016 03:49:36 +0000 (22:49 -0500)]
infobar: Don't expose implementation details

Only export the documented widgets as internal children.

10 years agosearchbar: Don't expose implementation details
Matthias Clasen [Fri, 29 Jan 2016 03:47:28 +0000 (22:47 -0500)]
searchbar: Don't expose implementation details

The various boxes and the revealer here should not be exposed
as internal children for subclasses to use in their .ui files.

10 years agoactionbar: Don't expose implementation details
Matthias Clasen [Fri, 29 Jan 2016 03:39:31 +0000 (22:39 -0500)]
actionbar: Don't expose implementation details

The box and revealer here should not be exposed as internal
children for subclasses to use in their .ui files.

10 years agodialog: Stop exporting action_box
Matthias Clasen [Fri, 29 Jan 2016 03:36:27 +0000 (22:36 -0500)]
dialog: Stop exporting action_box

This was not meant as an internal child that subclasses
can refer to in their .ui files.

https://bugzilla.gnome.org/show_bug.cgi?id=761254

10 years agoprint dialog: Stop using action_box in .ui
Matthias Clasen [Fri, 29 Jan 2016 03:10:02 +0000 (22:10 -0500)]
print dialog: Stop using action_box in .ui

We can just use CSS margins nowadays to achieve the desired
appearance.

10 years agolabel: fix a case of misleading indentation
Matthias Clasen [Fri, 29 Jan 2016 01:50:50 +0000 (20:50 -0500)]
label: fix a case of misleading indentation

gcc 6 complains aobut things like this.

10 years agotests: Avoid deprecated API usage in testgtk
Carlos Garnacho [Thu, 28 Jan 2016 11:46:32 +0000 (12:46 +0100)]
tests: Avoid deprecated API usage in testgtk

We can use seat grabs here.

10 years agotests: Avoid deprecated API usage in testsocket
Carlos Garnacho [Thu, 28 Jan 2016 11:46:07 +0000 (12:46 +0100)]
tests: Avoid deprecated API usage in testsocket

We can use seat grabs here.

10 years agotests: Fix deprecation warnings in testinput
Carlos Garnacho [Thu, 28 Jan 2016 11:10:12 +0000 (12:10 +0100)]
tests: Fix deprecation warnings in testinput

10 years agodemos: Modify "Change display" demo to use seat grabs
Carlos Garnacho [Thu, 28 Jan 2016 11:04:13 +0000 (12:04 +0100)]
demos: Modify "Change display" demo to use seat grabs

The window picking feature was done through a pointer grab, replace
it by a seat grab on pointing devices.

10 years agogtkdnd: Fix deprecation compile warnings
Carlos Garnacho [Thu, 28 Jan 2016 10:58:15 +0000 (11:58 +0100)]
gtkdnd: Fix deprecation compile warnings

Grabbing must stay a bit longer until all other backends than x11/wayland
catch up with GDK DnD, so ignore deprecation flags are used on those. The
uses of GdkDeviceManager can be entirely avoided though.

10 years agolabel: use GtkMisc padding again
Christoph Reiter [Thu, 28 Jan 2016 10:04:48 +0000 (11:04 +0100)]
label: use GtkMisc padding again

this was lost in the gadget conversion in a81267c28e4e0368cd0e23b661e1c8c53f8194fb

https://bugzilla.gnome.org/show_bug.cgi?id=760522

10 years agospin button: Document sizing peculiarities
Matthias Clasen [Thu, 28 Jan 2016 04:30:25 +0000 (23:30 -0500)]
spin button: Document sizing peculiarities

Document that it is best to explicitly set width-chars and
max-width-chars to avoid surprises.

https://bugzilla.gnome.org/show_bug.cgi?id=727294

10 years agocomposetable: Don't abort on unsupported escape sequences
Matthias Clasen [Thu, 28 Jan 2016 04:22:02 +0000 (23:22 -0500)]
composetable: Don't abort on unsupported escape sequences

People might put all sorts of gunk in their .XCompose file, in
the hope that XLib makes sense of it. Even if we don't make sense
of it, we shouldn't abort, but instead ignore the lines we can't
understand. Pointed out in
https://bugzilla.redhat.com/show_bug.cgi?id=1301254

10 years agoUpdate README.glade
Matthias Clasen [Wed, 27 Jan 2016 20:14:30 +0000 (15:14 -0500)]
Update README.glade

Update the README.glade file to use current .ui file
names and locations as example.

10 years agoUpdated German translation
Mario Blättermann [Wed, 27 Jan 2016 19:08:25 +0000 (20:08 +0100)]
Updated German translation

10 years agocss node tests: Update expected output
Matthias Clasen [Wed, 27 Jan 2016 18:23:58 +0000 (13:23 -0500)]
css node tests: Update expected output

The entry undershoot change needs to be reflected in the
test output.

10 years agowindow: Always disconnect signal handlers
Matthias Clasen [Wed, 27 Jan 2016 18:07:13 +0000 (13:07 -0500)]
window: Always disconnect signal handlers

We connect to the titlebar widgets change notification regardless
whether it is internally created or not, so don't make the signal
handler disconnection conditional on that either.

10 years agoassistant: Avoid tripping template tests
Matthias Clasen [Wed, 27 Jan 2016 17:57:58 +0000 (12:57 -0500)]
assistant: Avoid tripping template tests

We need to unset the titlebar manually before chaining up
in destroy, otherwise we trigger the template invariant
checking - GtkWindow would eventually unset it, but too late
for the invariants checking code in gtk_widget_destroy.

10 years agoTweak startup-notification after the first window
Allison Ryan Lortie [Wed, 27 Jan 2016 14:50:42 +0000 (15:50 +0100)]
Tweak startup-notification after the first window

Presently, Gtk will only send a startup notification completion message
for the first window that is shown.  This is not good for the case of
GtkApplication, where we are expected to participate in
startup-notification for all windows.

We have avoided this problem by manually emitting the startup complete
message from after_emit in GtkApplication.

Unfortunately, this causes problems for windows that are shown with a
delay.  It is also a dirty hack.

The reason for the original behaviour is simple: there is a static
boolean in gtkwindow.c which controls it.  We remove this.

Instead, clear the startup notification ID stored in GDK when sending
the completion message.  GtkApplication will re-set this the next time
an event comes in which needs startup-notification handling.  In the
non-GtkApplication case, newly shown windows will still not send the
message, since the cookie will have been cleared.

Finally, we remove the hack from GtkApplication's after_emit.

This will probably cause some regressions in terms of lingering startup
notification messages.  The correct solution here is to always use
gtk_window_present(), including when merely opening a new document (with
a new tab, for example).

https://bugzilla.gnome.org/show_bug.cgi?id=690791

10 years agomodelbutton: Use indicator state for button gadget if iconic
Timm Bäder [Wed, 27 Jan 2016 15:32:39 +0000 (16:32 +0100)]
modelbutton: Use indicator state for button gadget if iconic

10 years agoentry: Fix a typo
Krzesimir Nowak [Wed, 27 Jan 2016 12:25:58 +0000 (13:25 +0100)]
entry: Fix a typo

10 years agoentry: Fix a case of disagreeing coordinate systems
Benjamin Otte [Wed, 27 Jan 2016 13:02:44 +0000 (14:02 +0100)]
entry: Fix a case of disagreeing coordinate systems

gesture_get_current_point() returned x/y in layout coordiantes, but
callers assumed it in textarea coordinates.

10 years agoAdwaita: fix spinbutton styling
Cosimo Cecchi [Wed, 27 Jan 2016 11:25:49 +0000 (12:25 +0100)]
Adwaita: fix spinbutton styling

Spinbuttons were quite broken after the latest changes. This commit
brings the style back around what it was for 3.18.

10 years agoAdwaita: Add some themeing for entry undershoot
Matthias Clasen [Wed, 27 Jan 2016 04:33:06 +0000 (23:33 -0500)]
Adwaita: Add some themeing for entry undershoot

This is just copying what we do for scrolled windows.
It will need some tweaks to look good for entries.

10 years agoentry: give a visual clue that content is scrolled
Matthias Clasen [Wed, 27 Jan 2016 04:31:28 +0000 (23:31 -0500)]
entry: give a visual clue that content is scrolled

This has been requested long ago, and we now have the
machinery to implement it easily.

10 years agobox gadget: Improve assertion message
Matthias Clasen [Wed, 27 Jan 2016 03:11:54 +0000 (22:11 -0500)]
box gadget: Improve assertion message

Include the owner of the gadget in the assertion message,
to improve the chances of tracking down whats actually
going wrong here.